<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>mogu</title>
<link rel="stylesheet" href="./css/style.css" />
<script src="http://libs.baidu.com/jquery/1.11.1/jquery.min.js"></script>
<script type="text/javascript">
		$(function(){
			//文档加载完毕之后执行里面的代码
			$('.item').mouseover(function(){
				$(this).siblings().removeClass('itemActive');
				$(this).addClass('itemActive');
			})
		})
</script>
</head>
<body>
	<div id="box">
		<div class="item itemActive">
			<div class="top">
				<a href="#" class="left">
					<img src="./imgs/1.jpg" />
				</a>
				<div class="right">
					<span class="topIcon"></span>
					<ul>
						<li>
							<a href="#">
								<img src="./imgs/1-1.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/1-2.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/1-3.jpg" />
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="item">
			<div class="top">
				<a href="#" class="left">
					<img src="./imgs/2.jpg" />
				</a>
				<div class="right">
					<span class="topIcon"></span>
					<ul>
						<li>
							<a href="#">
								<img src="./imgs/2-1.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/2-2.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/2-3.jpg" />
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="item">
			<div class="top">
				<a href="#" class="left">
					<img src="./imgs/3.jpg" />
				</a>
				<div class="right">
					<span class="topIcon"></span>
					<ul>
						<li>
							<a href="#">
								<img src="./imgs/3-1.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/3-2.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/3-3.jpg" />
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="item">
			<div class="top">
				<a href="#" class="left">
					<img src="./imgs/4.jpg" />
				</a>
				<div class="right">
					<span class="topIcon"></span>
					<ul>
						<li>
							<a href="#">
								<img src="./imgs/4-1.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/4-2.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/4-3.jpg" />
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
		<div class="item itemLast">
			<div class="top">
				<a href="#" class="left">
					<img src="./imgs/5.jpg" />
				</a>
				<div class="right">
					<span class="topIcon"></span>
					<ul>
						<li>
							<a href="#">
								<img src="./imgs/5-1.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/5-2.jpg" />
							</a>
						</li>
						<li>
							<a href="#">
								<img src="./imgs/5-3.jpg" />
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</body>
</html>